<?php

namespace Design\Structural\DependencyInjection;

class DatabaseConfiguration
{

    private $host;

    private $port;

    private $username;

    private $password;


    public function __construct($host, $port, $username, $password)
    {
        $this->host     = $host;
        $this->port     = $port;
        $this->username = $username;
        $this->password = $password;

    }//end __construct()


    public function getHost(): string
    {
        return $this->host;

    }//end getHost()


    public function getPort(): int
    {
        return $this->port;

    }//end getPort()


    public function getUsername(): string
    {
        return $this->username;

    }//end getUsername()


    public function getPassword(): string
    {
        return $this->password;

    }//end getPassword()


}//end class
